package com.xszn.middleware.entity;

import org.springframework.stereotype.Component;

import java.util.List;

public class RYResponseEntity {
    private int id;
    private String method;
    private boolean result;
    private List<Object> params;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<Object> getParams() {
        return params;
    }

    public void setParams(List<Object> params) {
        this.params = params;
    }

    @Override
    public String toString() {
        return "RYResponseEntity{" +
                "id=" + id +
                ", method='" + method + '\'' +
                ", result=" + result +
                ", params=" + params +
                '}';
    }
}
